SRC	=	$(wildcard *.c)
#include deps.mk
OBJ	=	$(patsubst %.c, %.o, $(SRC))
PKGS = fontconfig
TARGET = font
LDLIBS	=	-lxcb -lfontconfig
CFLAGS	+= -std=c99 `pkg-config --cflags $(PKGS)`
CC		=	gcc

$(TARGET): $(OBJ)

#$(CC) -o $@ $^
#%.o: %.c
#$(CC) -o $@ $<

all: $(TARGET)

debug: CFLAGS += -g -O0
debug: test

clean:
	rm -f $(TARGET) $(OBJ)

.PHONY: all clean debug
